#pragma once
#include <QMainWindow>
#include <QScopedPointer>

class MainWindow : public QMainWindow
{
    Q_OBJECT
    class Impl;
    const QScopedPointer<Impl> _impl;
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void startTaskBarProgress(int minVal = 0, int maxVal = 100);

public slots:
    void showTrayMsg(const QString &msg);
    void setTaskBarValue(int val);
protected:
    void changeEvent(QEvent *event) override;
    void closeEvent(QCloseEvent *event) override;
};

